package com.scorpio.agentuser.service;

import com.alibaba.fastjson.JSONObject;

import java.util.Date;

public interface AgentIncomeService {
    JSONObject statistics(Long agentId, Integer type, Date quertDate);

    JSONObject statisticsPie(Long agentId, Integer type, Date quertDate);

    Float countRegTotali(Long agentId, Date date, Integer recLevel, Integer dateLength);

    void updateAllIncome();
}
